package org.wuqi.api.model;

import org.wuqi.bean.LoanInfo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author jjj
 * @program: earnest-money
 * @description:TODO
 * @date 2023-12-26 16:33:10
 */
public class BaseInfoIndex  implements Serializable {
//年平均收益率
   private BigDecimal avgYearRate;
//   用户总数量
   private Integer allUser;
//   累计成交金额
   private  BigDecimal  amount;
//   新手宝
    private List<LoanInfo> newProduct;
//    优选宝
    private List<LoanInfo> preferProduct;
//   散标产品
    private  List<LoanInfo> pieceProduct;

    public BaseInfoIndex() {
    }

    public BaseInfoIndex(BigDecimal avgYearRate, Integer allUser, BigDecimal amount, List<LoanInfo> newProduct, List<LoanInfo> preferProduct, List<LoanInfo> pieceProduct) {
        this.avgYearRate = avgYearRate;
        this.allUser = allUser;
        this.amount = amount;
        this.newProduct = newProduct;
        this.preferProduct = preferProduct;
        this.pieceProduct = pieceProduct;
    }

    public BigDecimal getAvgYearRate() {
        return avgYearRate;
    }

    public void setAvgYearRate(BigDecimal avgYearRate) {
        this.avgYearRate = avgYearRate;
    }

    public Integer getAllUser() {
        return allUser;
    }

    public void setAllUser(Integer allUser) {
        this.allUser = allUser;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public List<LoanInfo> getNewProduct() {
        return newProduct;
    }

    public void setNewProduct(List<LoanInfo> newProduct) {
        this.newProduct = newProduct;
    }

    public List<LoanInfo> getPreferProduct() {
        return preferProduct;
    }

    public void setPreferProduct(List<LoanInfo> preferProduct) {
        this.preferProduct = preferProduct;
    }

    public List<LoanInfo> getPieceProduct() {
        return pieceProduct;
    }

    public void setPieceProduct(List<LoanInfo> pieceProduct) {
        this.pieceProduct = pieceProduct;
    }
}
 
 